﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Collab.Services.Remote.Entities;

namespace Collab.Services.Remote.Contracts
{
    [ServiceContract(Namespace = "http://collab.codeplex.com/2010/10")]    
    public interface ICommonRemoteMessages
    {
        [OperationContract(IsOneWay = true)]
        void PublishChange(BufferUpdate change);

        [OperationContract(IsOneWay = true)]
        void PublishUserStatus(UserStatus status);

        [OperationContract(IsOneWay = true)]
        void PublishFileChunk(FileChunk fileChunk);

        [OperationContract(IsOneWay = true)]
        void PublishFileAdded(AddedFileInformation fileInformation);

        [OperationContract(IsOneWay = true)]
        void PublishFileRequested(FileRequest request, Guid userId);
    }
}
